'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller } = app;
    router.get('/', controller.homeRouter.index);
    router.get('/q', controller.bookauthRouter.BookDetail);
    router.get('/yg/q',controller.bookdetailRouter.BookDetail)
    router.get('/test/:parparam',controller.booktestRouter.BookDetail)
};
